<h1><?php echo __text($title); ?></h1>
<?php echo Toolbar::factory($toolbar) -> render(); ?>
<div class="adminTableWrapper">
	<table class="adminTable">
		<thead>
			<tr>
				<td>ID</td>
				<td><?php echo __text('Email'); ?></td>
				<td><?php echo __text('Name'); ?></td>
				<td><?php echo __text('Approved'); ?></td>
				<td><?php echo __text('Verified'); ?></td>
				<td><?php echo __text('Active'); ?></td>
				<td><?php echo __text('Created At'); ?></td>
				<td><?php echo __text('Created IP'); ?></td>
				<td><?php echo __text('Login At'); ?></td>
				<td><?php echo __text('Login IP'); ?></td>
				<td><?php echo __text('Operations'); ?></td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($items as $item): ?>
			<tr>
				<td><?php echo $item->getId()?></td>
				<td><?php echo $item->getEmail()?></td>
				<td><?php echo $item->getTitle()?></td>
				<td><?php echo $item -> isApproved() ? __('Yes') : __text('No'); ?></td>
				<td><?php echo $item -> isVerified() ? __('Yes') : __text('No'); ?></td>
				<td><?php echo $item -> isActive() ? __('Yes') : __text('No');
					;
 ?></td>
				<td><?php echo __date($item -> created_at); ?></td>
				<td><?php echo $item -> created_ip; ?></td>
				<td><?php echo __date($item -> lastlogin_at); ?></td>
				<td><?php echo $item -> lastlogin_ip; ?></td>
				<td><a href="<?php echo Agilet::getUrl('admin/user/manage/edit', array('id' => $item -> getId())); ?>"><?php echo __text('Edit'); ?></a> | 
				<a href="<?php echo Agilet::getUrl('admin/user/manage/password', array('id' => $item -> getId())); ?>"><?php echo __text('Set Password'); ?></a> | 
				<a href="<?php echo Agilet::getUrl('admin/user/manage/block', array('id' => $item -> getId())); ?>"><?php echo __text('Block'); ?></a>
				| <a href="<?php echo Agilet::getUrl('admin/user/manage/delete', array('id' => $item -> getId())); ?>"><?php echo __text('Delete'); ?></a> | <a href="<?php echo Agilet::getUrl('admin/user/manage/sendmail', array('id' => $item -> getId())); ?>"><?php echo __text('Send Mail'); ?></a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>